home *** CD-ROM | disk | FTP | other *** search
- From samba!concert!rock!stanford.edu!agate!spool.mu.edu!olivea!uunet!pipex!demon!rama.demon.co.uk!steve Sat Nov 21 13:55:08 EST 1992
- Article: 17105 of comp.os.linux
- Path: samba!concert!rock!stanford.edu!agate!spool.mu.edu!olivea!uunet!pipex!demon!rama.demon.co.uk!steve
- From: steve@rama.demon.co.uk (Steve Entwistle)
- Newsgroups: comp.os.linux
- Subject: Re: Printing on a deskjet ??
- Message-ID: <722368985snz@rama.demon.co.uk>
- Date: 21 Nov 92 13:23:01 GMT
- References: <722312538.AA21705@remote.halcyon.com>
- Sender: usenet@gate.demon.co.uk
- Reply-To: steve@rama.demon.co.uk
- Organization: None
- Lines: 24
- X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.18)
-
-
- In article <722312538.AA21705@remote.halcyon.com> Ron.Howard@f1.n2250.z1.fidonet.org writes:
-
- >HELP!
- > I have an HP Deskjet 500C printer and a problem. When ever I
- >print from linux all I get is linefeeds no CR. On my printer this prints
- >one line and then all the rest is off the page.
- > Can someone tell me how to get linux to add CR to its lines?
- >
-
- Compile the following program, and then re-direct its output to your
- printer. E.g.
-
- cc -o setdj setdj.c
- setdj > /dev/lp1
-
-
-
- #include <stdio.h>
-
- void main()
- {
- printf("\x01b\x026\x06b\x033\x047");
- }
-
-
-